package com.ztgf.user.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.user.models.bo.UserImBO;
import com.ztgf.user.models.bo.UserImSaveBO;
import com.ztgf.user.models.dto.UserImDTO;
import com.ztgf.user.models.vo.UserImVO;

/**
 * im账号表服务
 *
 * @author zhanghualang
 * @Date 2020-05-28 17:48:46
 */
public interface IUserImService extends IService<UserImDTO> {
    boolean add(UserImSaveBO saveBO);

    UserImDTO getSellerByUserId(Long userId); //根据userId获取卖家IM

    UserImDTO getCSbyShopId(Long shopId); //根据店铺ID获取客服im

    Page<UserImVO> queryPageList(UserImBO bo); //查询账号列表
}
